//
//  Target_Author.m
//  FFAuthorKit
//
//  Created by yangyang on 2017/11/15.
//

#import "Target_Author.h"

#import"FFAuthorDetailController.h"

#import"FFAuthorListReformer.h"

#import"AuthorAPIRequest.h"

@implementation Target_Author

/// FFAuthorDetailViewController控制器
- (UIViewController*)Action_authorDetailViewController:(NSDictionary*)params{
    return [FFAuthorDetailController new];
}

///返回转化好的Reformer对象
- (NSDictionary*)Action_authorReformerWithOriginData:(NSDictionary*)params{
    FFAuthorListReformer *reformer = [[FFAuthorListReformer alloc]init];
    return params ? [reformer reformData:params] : nil;
}

/// Reformer对象
- (NSDictionary *)Action_authorReformer:(NSDictionary*)params{
    return [[FFAuthorListReformer alloc] init];
}

/// Request对象
- (APIRequest*)Action_authorAPIRequest:(NSDictionary*)params{
    return[[AuthorAPIRequest alloc] init];
}

@end
